package com.mycom.dao;

import com.mycom.pojo.Employee;

import java.util.List;

public interface EmployeeDao {
    /**
     * 根据身份证号码查询部门员工
     * @param idCardNumber
     * @return
     */
    public Employee findByIdCard(String idCardNumber);

    /**
     * 根据科室id查询科室所有成员信息
     * @param departmentId
     * @return
     */
    public List<Employee> findAllByDepartmentId(Integer departmentId);
}
